package com.example.foodsy.service;

import com.example.foodsy.dto.AddressDTO;
import com.example.foodsy.entity.FarmInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 养殖企业产品批号信息表 服务类
 * </p>
 *
 * @author cgc
 * @since 2025-09-23
 */
public interface FarmInfoService extends IService<FarmInfo> {


	FarmInfo getByBatchId(String batchId);

	boolean editFarmInfo(FarmInfo farmInfo);

	boolean saveFarmInfo(FarmInfo farmInfo);

	List<String> getAllBatchId( );

	AddressDTO<FarmInfo> getInfoByFbId(String fbId);
}
